import request from './request'
import qs from 'qs'
export const GetHomeAPI = () => request.get('/students/gethealthNowDay')
export const LoginAPI = params => request.post('/users/login', qs.stringify(params))
export const getUserDataByToken = (params) => request.get('/users/getUserDataByToken', { params })
export const getStudentAPI = (params) => request.get('/users/getUsersByTypePage', { params })
export const delUserAPI = (params) => request.get('/users/delUserdata', { params })
export const upUserAPI = (params) => request.post('/users/upUserdata', { params })
export const upPwdAPI = (params) => request.post('/users/upPwd', { params })
export const getHotTmpAPI = (params) => request.get('/users/getHotTmp', { params })